unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TForm1 = class(TForm)
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
  self.FormStyle:=fsStayOnTop;
end;

{
  procedure   Createparams(Var   Params:TCreateParams);override;  
procedure   TForm2.Createparams(var   Params:TCreateParams);
  begin   
      Inherited   CreateParams(Params);   
      With   Params   do   
      begin   
        EXStyle:=ExStyle   or   WS_EX_TOPMOST   OR   WS_EX_ACCEPTFILES   or   WS_DLGFRAME;   
        wndParent:=GetDesktopWindow;   
      end;   
  end;}

end.
